<extend name="Layout/index" />

<block name="main">
<div class="container">
<div class="row">
	<div class="col-lg-4">
		<input type="text" class="form-control input-sm" placeholder="请输入要查询的友情链接名">
	</div>
	<input type="submit" class="btn btn-primary btn-xs" value="查询" >
	<table class="table table-hover" style="text-align:center;font-size:14px;margin-top:15px;">
		<tr>
			<td class="col-md-1">友情链接ID</td>
			<td class="col-md-2">友情链接名</td>
			<td class="col-md-6">友情链接地址</td>
			<td class="col-md-4">操作</td>
		</tr>
		<volist name="youqingdata" id="vo">
		<tr>
			<td><{$vo.id}></td>
			<td><{$vo.name}></td>
			<td><{$vo.address}></td>
			
			<td>
			<a href="<{:U('Youqing/del',array('id'=>$vo['id']))}>" class="btn btn-danger btn-xs">删除</a>
			<a href="<{:U('Youqing/edit',array('id'=>$vo['id']))}>" class="btn btn-success btn-xs">编辑友情链接信息</a>
			</td>
		</tr>
		</volist>
	</table>
	<div><{$page}></div>
</div></div>

</block>